package org.example.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("b_order")
public class Order {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String status;
    private String orderTime;
    private String gwc;  // 商品列表 JSON
    private String amount;
    private Long userId;
    private String orderNumber;
    private String receiverAddress;
    private String receiverName;
    private String receiverPhone;
    private String remark;
}
